package com.fand.platform.common.controller;

import org.springframework.web.bind.WebDataBinder;
import org.springframework.web.bind.annotation.ControllerAdvice;
import org.springframework.web.bind.annotation.InitBinder;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @author yaoHT
 */
@ControllerAdvice
public class HomeController {
	@RequestMapping(value = { "/index.html" }, method = RequestMethod.GET)
	public String index() {
		return "index";
	}

	@InitBinder
	public void initBinder(WebDataBinder webDataBinder) {
	}
}
